<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="customerComplaintsList" title="客户投诉记录" actionUrl="customerComplaintsController.do?datagrid"  idField="id"  fit="true" queryMode="group" autoLoadData="false">
   <t:dgCol title="编号" field="id" hidden="false" ></t:dgCol>
   <t:dgCol title="制单日期" field="FCreateDT" formatter="yyyy-MM-dd"  isDate="true"  query="true" queryMode="group"></t:dgCol>
   <t:dgCol title="客户名称" field="FBase_DSPName" query="true"></t:dgCol>
   <t:dgCol title="产品代码" field="FItemID_DSPName" ></t:dgCol>
   <t:dgCol title="物料名称" field="FItemID71959DSPName"  query="true" dictionary="GZ"></t:dgCol>
   <t:dgCol title="规格型号" field="FItemID71969_DSPName" ></t:dgCol>
   <t:dgCol title="宽度" field="FQty" ></t:dgCol>
   <t:dgCol title="单位" field="FUnitID_DSPName" ></t:dgCol>
   <t:dgCol title="批号" field="FBatchNo" ></t:dgCol>
   <t:dgCol title="责任人" field="FDealerID_DSPName" ></t:dgCol>
   <t:dgCol title="责任工序" field="FBase1_DSPName" ></t:dgCol>
   <t:dgCol title="投诉数量" field="FAppealSum" ></t:dgCol>
   <t:dgCol title="投诉日期" field="FAppealDT" formatter="yyyy-MM-dd"  isDate="true"></t:dgCol>
   <t:dgCol title="投诉类型" field="FApppealTypeID_DSPName" ></t:dgCol>
   <t:dgCol title="投诉内容" field="FAppealContent"  query="true"></t:dgCol>
   <t:dgCol title="投诉处理结果" field="FDealResult" ></t:dgCol>
   <t:dgCol title="单据编号" field="FBillNo" ></t:dgCol>
    <t:dgToolBar title="导出"  icon="icon-print"    onclick="export2()"   operationCode="export"></t:dgToolBar>
  </t:datagrid>
  </div>
</div>


<script type="text/javascript" charset="utf-8">
	/*
	 *	excel导出
	 */
	function export2() {
		export1("customerComplaintsController.do?export","customerComplaintsList");
	}
	
</script>

